//
//  BLEmptyView.m
//  BasketBallLeagues
//
//  Created by kenshin on 5/1/17.
//  Copyright © 2017 kenshin. All rights reserved.
//

#import "BLEmptyView.h"

@interface BLEmptyView ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *lTitle;
@property (weak, nonatomic) IBOutlet UIButton *button;
@property (weak, nonatomic) IBOutlet UILabel *lButtonTitle;



@end

@implementation BLEmptyView

- (void)config:(UIImage *)image title:(NSString *)title buttonTitle:(NSString *)buttonTitle {
    self.imageView.image = image;
    self.lTitle.text = title;
    [self.button setTitle:buttonTitle forState:UIControlStateNormal];
    self.lButtonTitle.text = buttonTitle;
}

@end
